package org.example.mapper;

import org.example.dao.Department;

import java.util.List;

public interface DepartmentMapper {

    List<Department> findAllDepartment();
    Department findDepartmentById(int deptId);
    int delDepartment(int deptId);
    int updateDepartment(Department department);
    int addDepartment(Department department);

    Department mapSelectEmpList(int deptId);

    Department mapSelectLazy(int deptId);
}
